Event Trigger

Event Watcher

See Also

Introduction to Triggers, Available Triggers

Description

Triggers the task when an event is added to the Windows Event Log.

Practical Usage

Used to make AutoMate react to system or application generated errors that are sent to the system event log. For example: If the system generates a log entry indicating that the DNS server could not be contacted, automatically notify the system administrator.

Return Value

When this trigger is activated - it automatically passes the AMTrigger object to the task.

The following properties are populated:

AMTrigger.Trigger
String
The name of the trigger that started the task.  For this trigger, the value is always "AMEVENTLOGTRIGGER".
AMTrigger.EventType
Text
 

Specifies the type of event that triggered the Event Watcher trigger.

AMTrigger.EventID
Text
 

The ID of the logged event

AMTrigger.EventSource
Text
 

The source value of the logged event.

AMTrigger.EventCategory
Text
 

Specifies the category of the event that triggered the Event Watcher trigger.

AMTrigger.EventDescription
Text
 

Specifies the description of the event that triggered the Event Watcher trigger.

AMTrigger.EventTime
Text
 

Specifies the time of the event that triggered the Event Watcher trigger